home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
015
/
epsilon.arc
/
VERSIONS.ARC
/
VERSIONS.DOC
< prev
next >
Wrap
Text File
|
1986-04-06
|
3KB
|
86 lines
Cursory Documentation On
Epsilon File Versions
Version T1.0
Copyright (c) 1986 by David Dyer-Bennet
Permission for non-commercial use is hereby granted; all other
rights are reserved.
Written by David Dyer-Bennet
Terrabit Software
4242 Minnehaha Ave S
Minneapolis, MN 55406
Usenet: ...ihnp4!umn-cs!starfire!ddb
Fido: Sysop of Fido 14/341, The Terraboard, (612) 721-8967 3/12/24 24hrs
Telephone: (612) 721-8800 NOT 24 hrs! More like noon to midnight
Compuserve: 74756,723
Version T1.0 of Epsilon File Versions is a PRE-RELEASE version. I started
writing it 5-Apr-86, and this version is being released 6-Apr-86. I'm
using it myself, and it seems to work (except for purge, which isn't
written yet), but use at your own risk!
1.0 Multiple File Versions
People who have used TOPS-20, VMS, good versions of Un*x, and other
superior operating systems are aware of how convenient it is to have
the system maintain multiple versions of files -- generally, the most
recent n versions.
This package makes that capability available in a limited way to
users of the Epsilon text editor from Lugaru Software.
1.1 How I did it
Simple. A file that exists in 4 versions, numbered 0 through 3,
would be represented as 5 files on disk. Let's say that the file is
"play.mss", a manuscript file. Let's further say that you've chosen
the character "M" to identify old versions of manuscript files.
Then you would have the following files:
Name Description
play.m00 Version 0
play.m01 Version 1
play.m02 Version 2
play.mss Version 3
play.mzz Special file used for keeping track of the
others.
Each class of files that you want to use versioning on should have
its own major mode. The setup that tells epsilon that this files
should be versioned takes place most easily in the mode function (for
the example above, that would be "mss-mode").
An example of mss mode is provided in this archive.
1.2 Commands
There are a few commands intended for direct use:
version-statistics: Displays the version under which the current
buffer contents would be saved if you gave the command now, the full
file name, and the character used as the first character of all the
special extensions.
un-version: Disables versioning of the current file.
purge: NOT YET IMPLEMENTED. This will eventually reduce the number
of copies of a file stored to a specified number, and set those to
the lowest available version numbers. Without this command, things
will die when you exceed 100 versions (it will give you a message to
that affect, rather than breaking things).
2.0 Installation
The files.e provided is intended to replace the one distributed with
Epsilon. Actually, only the save-files function is changed. The
load-bytes function was removed to make it easy to replace the
original version with this one on the fly.
To install this, simply read in the bytecode files, and save a new
state file. Be sure not to lose your old reliable copies of files.e
and epsilon.sta!